package com.lithium.common;

public class Medication {

	public Medication(){}
	
	private String title;
	private String img;
	private String alt_img_txt;
	private String formato;
	private String ingrediente;
	private Integer ingredient_id;
	private Integer medication_id;
	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getImg() {
		return img;
	}

	public void setImg(String img) {
		this.img = img;
	}

	public String getAlt_img_txt() {
		return alt_img_txt;
	}

	public void setAlt_img_txt(String alt_img_txt) {
		this.alt_img_txt = alt_img_txt;
	}

	public String getFormato() {
		return formato;
	}

	public void setFormato(String formato) {
		this.formato = formato;
	}

	public String getIngrediente() {
		return ingrediente;
	}

	public void setIngrediente(String ingrediente) {
		this.ingrediente = ingrediente;
	}

	public int getIngredient_id() {
		return ingredient_id;
	}

	public void setIngredient_id(Integer ingredient_id) {
		this.ingredient_id = ingredient_id;
	}

	public Integer getMedication_id() {
		return medication_id;
	}

	public void setMedication_id(Integer medication_id) {
		this.medication_id = medication_id;
	}

	public String toString(){
		
		StringBuffer text = new StringBuffer();
		
		text.append("[title "+ title+" ]\n");
		text.append("[img "+ img+" ]\n");
		text.append("[alt_img_txt "+ alt_img_txt+" ]\n");
		text.append("[formato "+ formato+" ]\n");
		text.append("[ingrediente "+ ingrediente+" ]\n");
		
		return text.toString();
		
	}	
}
